﻿<Window x:Class="WpfDrawing.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:ht="http://helixtoolkit.codeplex.com"
        Title="MainWindow" Height="350" Width="525">

    <TabControl>
        <TabItem Header="Main">
            <Grid>
                <!-- The HelixViewport3D supports camera manipulation, and can be used just like the Viewport3D -->
                <ht:HelixViewport3D ZoomExtentsWhenLoaded="True" Name="ThreeDim" Visibility="Hidden">

                    <!-- Remember to add light to the scene -->
                    <ht:SunLight/>

                    <!-- The content of this visual is defined in MainViewModel.cs -->
                    <ModelVisual3D Content="{Binding Model}"/>

                    <!-- You can also add elements here in the xaml -->
                    <ht:GridLinesVisual3D MinorDistance="1" MajorDistance="1" Thickness="0.01"/>

                </ht:HelixViewport3D>

                <Canvas Name="Canvas" MouseDown="Canvas_MouseDown" MouseMove="Canvas_MouseMove" Background="LightBlue" >
                    <Button Canvas.Left="409" Canvas.Top="14" Content="Button" Height="23" Name="button1" Width="75" Click="button1_Click" />
                </Canvas>

            </Grid>
        </TabItem>
        <TabItem Header="Kreslitko">
            <InkCanvas Name="InkCanvas" />
        </TabItem>
    </TabControl>

</Window>
